package com.hznu.jspFinal.dao;

import com.hznu.jspFinal.entity.Exam;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;


public interface ExamMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Exam record);

    int insertSelective(Exam record);

    Exam selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Exam record);

    int updateByPrimaryKey(Exam record);

    Exam selectByName(String name);

    List<Exam> selectByCourseId(Integer courseid);

    List<Exam> selectByStudentId(Integer studentid);

    List<Exam> selectByCourseTeachid(Integer courseteachid);


}